@extends('admin.public')

@section('content')
    <div class="col-md-12">
        <!-- .comment-list -->
        <section class="comment-list block">
            @foreach($operates as $operate)
                <article id="comment-id-1" class="comment-item">
                    <a class="pull-left thumb-sm avatar">
                        <img src="/miya.png" class="img-circle" alt="{{ config('set.web_name') }}">
                    </a>
                    <span class="arrow left"></span>
                    <section class="comment-body panel panel-default">
                        <header class="panel-heading bg-white">
                            {{ $operate->admin }}
                            <small class="text-small"> {{ $operate->ip }} </small>
                            <label class="label bg-info m-l-xs">{{ $operate->method }}</label>
                            <span class="text-muted m-l-sm pull-right">
                            <i class="fa fa-clock-o"></i>
                                {{ $operate->created_at }}
                          </span>
                        </header>
                        <div class="panel-body">
                            <div>{{ $operate->url }}</div>
                            @if(!empty($operate->parameter))
                                <small class="text-small">
                                    @foreach($operate->parameter as $k => $v)
                                        {{ $k }} : {{ str_replace('"','',json_encode($v,JSON_UNESCAPED_UNICODE)) }} <br>
                                    @endforeach
                                </small>
                            @endif
                        </div>
                    </section>
                </article>
            @endforeach
        </section>
        <!-- / .comment-list -->
    </div>
@endsection

@section('css')
@endsection

@section('js')
@endsection